package fun.scxsh.webproject.service;

import fun.scxsh.webproject.dao.StudentDao;
import fun.scxsh.webproject.entity.Student;

import java.util.List;

public class StudentService {
    StudentDao studentDao = new StudentDao();

    public List<Student> getStudentByPage(int page) {
        return studentDao.getStudentByPage(page);
    }

    public int getTotalCount() {
        return studentDao.getTotalCount();
    }
}
